package grpc.htsoft.meeting;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
//@javax.annotation.Generated(
//    value = "by gRPC proto compiler (version 1.52.1)",
//    comments = "Source: meeting.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class MeetingGreeterGrpc {

  private MeetingGreeterGrpc() {}

  public static final String SERVICE_NAME = "meeting.MeetingGreeter";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor<grpc.htsoft.meeting.userRequest,
      grpc.htsoft.meeting.user> getGetUserMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getUser",
      requestType = grpc.htsoft.meeting.userRequest.class,
      responseType = grpc.htsoft.meeting.user.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<grpc.htsoft.meeting.userRequest,
      grpc.htsoft.meeting.user> getGetUserMethod() {
    io.grpc.MethodDescriptor<grpc.htsoft.meeting.userRequest, grpc.htsoft.meeting.user> getGetUserMethod;
    if ((getGetUserMethod = MeetingGreeterGrpc.getGetUserMethod) == null) {
      synchronized (MeetingGreeterGrpc.class) {
        if ((getGetUserMethod = MeetingGreeterGrpc.getGetUserMethod) == null) {
          MeetingGreeterGrpc.getGetUserMethod = getGetUserMethod =
              io.grpc.MethodDescriptor.<grpc.htsoft.meeting.userRequest, grpc.htsoft.meeting.user>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getUser"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.userRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.user.getDefaultInstance()))
              .setSchemaDescriptor(new MeetingGreeterMethodDescriptorSupplier("getUser"))
              .build();
        }
      }
    }
    return getGetUserMethod;
  }

  private static volatile io.grpc.MethodDescriptor<grpc.htsoft.meeting.user,
      grpc.htsoft.meeting.commonReply> getSaveUserMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "saveUser",
      requestType = grpc.htsoft.meeting.user.class,
      responseType = grpc.htsoft.meeting.commonReply.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<grpc.htsoft.meeting.user,
      grpc.htsoft.meeting.commonReply> getSaveUserMethod() {
    io.grpc.MethodDescriptor<grpc.htsoft.meeting.user, grpc.htsoft.meeting.commonReply> getSaveUserMethod;
    if ((getSaveUserMethod = MeetingGreeterGrpc.getSaveUserMethod) == null) {
      synchronized (MeetingGreeterGrpc.class) {
        if ((getSaveUserMethod = MeetingGreeterGrpc.getSaveUserMethod) == null) {
          MeetingGreeterGrpc.getSaveUserMethod = getSaveUserMethod =
              io.grpc.MethodDescriptor.<grpc.htsoft.meeting.user, grpc.htsoft.meeting.commonReply>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "saveUser"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.user.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.commonReply.getDefaultInstance()))
              .setSchemaDescriptor(new MeetingGreeterMethodDescriptorSupplier("saveUser"))
              .build();
        }
      }
    }
    return getSaveUserMethod;
  }

  private static volatile io.grpc.MethodDescriptor<grpc.htsoft.meeting.grouprequest,
      grpc.htsoft.meeting.usergroup> getGetGroupMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getGroup",
      requestType = grpc.htsoft.meeting.grouprequest.class,
      responseType = grpc.htsoft.meeting.usergroup.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<grpc.htsoft.meeting.grouprequest,
      grpc.htsoft.meeting.usergroup> getGetGroupMethod() {
    io.grpc.MethodDescriptor<grpc.htsoft.meeting.grouprequest, grpc.htsoft.meeting.usergroup> getGetGroupMethod;
    if ((getGetGroupMethod = MeetingGreeterGrpc.getGetGroupMethod) == null) {
      synchronized (MeetingGreeterGrpc.class) {
        if ((getGetGroupMethod = MeetingGreeterGrpc.getGetGroupMethod) == null) {
          MeetingGreeterGrpc.getGetGroupMethod = getGetGroupMethod =
              io.grpc.MethodDescriptor.<grpc.htsoft.meeting.grouprequest, grpc.htsoft.meeting.usergroup>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getGroup"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.grouprequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.usergroup.getDefaultInstance()))
              .setSchemaDescriptor(new MeetingGreeterMethodDescriptorSupplier("getGroup"))
              .build();
        }
      }
    }
    return getGetGroupMethod;
  }

  private static volatile io.grpc.MethodDescriptor<grpc.htsoft.meeting.userConentRequest,
      grpc.htsoft.meeting.commonReply> getPostUserContentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "postUserContent",
      requestType = grpc.htsoft.meeting.userConentRequest.class,
      responseType = grpc.htsoft.meeting.commonReply.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<grpc.htsoft.meeting.userConentRequest,
      grpc.htsoft.meeting.commonReply> getPostUserContentMethod() {
    io.grpc.MethodDescriptor<grpc.htsoft.meeting.userConentRequest, grpc.htsoft.meeting.commonReply> getPostUserContentMethod;
    if ((getPostUserContentMethod = MeetingGreeterGrpc.getPostUserContentMethod) == null) {
      synchronized (MeetingGreeterGrpc.class) {
        if ((getPostUserContentMethod = MeetingGreeterGrpc.getPostUserContentMethod) == null) {
          MeetingGreeterGrpc.getPostUserContentMethod = getPostUserContentMethod =
              io.grpc.MethodDescriptor.<grpc.htsoft.meeting.userConentRequest, grpc.htsoft.meeting.commonReply>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "postUserContent"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.userConentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.commonReply.getDefaultInstance()))
              .setSchemaDescriptor(new MeetingGreeterMethodDescriptorSupplier("postUserContent"))
              .build();
        }
      }
    }
    return getPostUserContentMethod;
  }

  private static volatile io.grpc.MethodDescriptor<grpc.htsoft.meeting.Empty,
      grpc.htsoft.meeting.AllUser> getGetAllUserMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetAllUser",
      requestType = grpc.htsoft.meeting.Empty.class,
      responseType = grpc.htsoft.meeting.AllUser.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<grpc.htsoft.meeting.Empty,
      grpc.htsoft.meeting.AllUser> getGetAllUserMethod() {
    io.grpc.MethodDescriptor<grpc.htsoft.meeting.Empty, grpc.htsoft.meeting.AllUser> getGetAllUserMethod;
    if ((getGetAllUserMethod = MeetingGreeterGrpc.getGetAllUserMethod) == null) {
      synchronized (MeetingGreeterGrpc.class) {
        if ((getGetAllUserMethod = MeetingGreeterGrpc.getGetAllUserMethod) == null) {
          MeetingGreeterGrpc.getGetAllUserMethod = getGetAllUserMethod =
              io.grpc.MethodDescriptor.<grpc.htsoft.meeting.Empty, grpc.htsoft.meeting.AllUser>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAllUser"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.Empty.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.AllUser.getDefaultInstance()))
              .setSchemaDescriptor(new MeetingGreeterMethodDescriptorSupplier("GetAllUser"))
              .build();
        }
      }
    }
    return getGetAllUserMethod;
  }

  private static volatile io.grpc.MethodDescriptor<grpc.htsoft.meeting.Empty,
      grpc.htsoft.meeting.AllGroup> getGetAllGroupMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetAllGroup",
      requestType = grpc.htsoft.meeting.Empty.class,
      responseType = grpc.htsoft.meeting.AllGroup.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<grpc.htsoft.meeting.Empty,
      grpc.htsoft.meeting.AllGroup> getGetAllGroupMethod() {
    io.grpc.MethodDescriptor<grpc.htsoft.meeting.Empty, grpc.htsoft.meeting.AllGroup> getGetAllGroupMethod;
    if ((getGetAllGroupMethod = MeetingGreeterGrpc.getGetAllGroupMethod) == null) {
      synchronized (MeetingGreeterGrpc.class) {
        if ((getGetAllGroupMethod = MeetingGreeterGrpc.getGetAllGroupMethod) == null) {
          MeetingGreeterGrpc.getGetAllGroupMethod = getGetAllGroupMethod =
              io.grpc.MethodDescriptor.<grpc.htsoft.meeting.Empty, grpc.htsoft.meeting.AllGroup>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAllGroup"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.Empty.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.htsoft.meeting.AllGroup.getDefaultInstance()))
              .setSchemaDescriptor(new MeetingGreeterMethodDescriptorSupplier("GetAllGroup"))
              .build();
        }
      }
    }
    return getGetAllGroupMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static MeetingGreeterStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<MeetingGreeterStub> factory =
      new io.grpc.stub.AbstractStub.StubFactory<MeetingGreeterStub>() {
        @java.lang.Override
        public MeetingGreeterStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MeetingGreeterStub(channel, callOptions);
        }
      };
    return MeetingGreeterStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static MeetingGreeterBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<MeetingGreeterBlockingStub> factory =
      new io.grpc.stub.AbstractStub.StubFactory<MeetingGreeterBlockingStub>() {
        @java.lang.Override
        public MeetingGreeterBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MeetingGreeterBlockingStub(channel, callOptions);
        }
      };
    return MeetingGreeterBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static MeetingGreeterFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<MeetingGreeterFutureStub> factory =
      new io.grpc.stub.AbstractStub.StubFactory<MeetingGreeterFutureStub>() {
        @java.lang.Override
        public MeetingGreeterFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MeetingGreeterFutureStub(channel, callOptions);
        }
      };
    return MeetingGreeterFutureStub.newStub(factory, channel);
  }

  /**
   */
  public static abstract class MeetingGreeterImplBase implements io.grpc.BindableService {

    /**
     * <pre>
     * 获得用户信息
     * </pre>
     */
    public void getUser(grpc.htsoft.meeting.userRequest request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.user> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver);
    }

    /**
     * <pre>
     * 保存用户信息,但是点赞不保存
     * </pre>
     */
    public void saveUser(grpc.htsoft.meeting.user request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.commonReply> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSaveUserMethod(), responseObserver);
    }

    /**
     * <pre>
     *获得组信息
     * </pre>
     */
    public void getGroup(grpc.htsoft.meeting.grouprequest request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.usergroup> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver);
    }

    /**
     * <pre>
     *发布内容
     * </pre>
     */
    public void postUserContent(grpc.htsoft.meeting.userConentRequest request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.commonReply> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPostUserContentMethod(), responseObserver);
    }

    /**
     */
    public void getAllUser(grpc.htsoft.meeting.Empty request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.AllUser> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAllUserMethod(), responseObserver);
    }

    /**
     */
    public void getAllGroup(grpc.htsoft.meeting.Empty request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.AllGroup> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAllGroupMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getGetUserMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.htsoft.meeting.userRequest,
                grpc.htsoft.meeting.user>(
                  this, METHODID_GET_USER)))
          .addMethod(
            getSaveUserMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.htsoft.meeting.user,
                grpc.htsoft.meeting.commonReply>(
                  this, METHODID_SAVE_USER)))
          .addMethod(
            getGetGroupMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.htsoft.meeting.grouprequest,
                grpc.htsoft.meeting.usergroup>(
                  this, METHODID_GET_GROUP)))
          .addMethod(
            getPostUserContentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.htsoft.meeting.userConentRequest,
                grpc.htsoft.meeting.commonReply>(
                  this, METHODID_POST_USER_CONTENT)))
          .addMethod(
            getGetAllUserMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.htsoft.meeting.Empty,
                grpc.htsoft.meeting.AllUser>(
                  this, METHODID_GET_ALL_USER)))
          .addMethod(
            getGetAllGroupMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.htsoft.meeting.Empty,
                grpc.htsoft.meeting.AllGroup>(
                  this, METHODID_GET_ALL_GROUP)))
          .build();
    }
  }

  /**
   */
  public static final class MeetingGreeterStub extends io.grpc.stub.AbstractAsyncStub<MeetingGreeterStub> {
    private MeetingGreeterStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected MeetingGreeterStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new MeetingGreeterStub(channel, callOptions);
    }

    /**
     * <pre>
     * 获得用户信息
     * </pre>
     */
    public void getUser(grpc.htsoft.meeting.userRequest request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.user> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 保存用户信息,但是点赞不保存
     * </pre>
     */
    public void saveUser(grpc.htsoft.meeting.user request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.commonReply> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getSaveUserMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获得组信息
     * </pre>
     */
    public void getGroup(grpc.htsoft.meeting.grouprequest request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.usergroup> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *发布内容
     * </pre>
     */
    public void postUserContent(grpc.htsoft.meeting.userConentRequest request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.commonReply> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getPostUserContentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void getAllUser(grpc.htsoft.meeting.Empty request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.AllUser> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getGetAllUserMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void getAllGroup(grpc.htsoft.meeting.Empty request,
        io.grpc.stub.StreamObserver<grpc.htsoft.meeting.AllGroup> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getGetAllGroupMethod(), getCallOptions()), request, responseObserver);
    }
  }

  /**
   */
  public static final class MeetingGreeterBlockingStub extends io.grpc.stub.AbstractBlockingStub<MeetingGreeterBlockingStub> {
    private MeetingGreeterBlockingStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected MeetingGreeterBlockingStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new MeetingGreeterBlockingStub(channel, callOptions);
    }

    /**
     * <pre>
     * 获得用户信息
     * </pre>
     */
    public grpc.htsoft.meeting.user getUser(grpc.htsoft.meeting.userRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getGetUserMethod(), getCallOptions(), request);
    }

    /**
     * <pre>
     * 保存用户信息,但是点赞不保存
     * </pre>
     */
    public grpc.htsoft.meeting.commonReply saveUser(grpc.htsoft.meeting.user request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getSaveUserMethod(), getCallOptions(), request);
    }

    /**
     * <pre>
     *获得组信息
     * </pre>
     */
    public grpc.htsoft.meeting.usergroup getGroup(grpc.htsoft.meeting.grouprequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getGetGroupMethod(), getCallOptions(), request);
    }

    /**
     * <pre>
     *发布内容
     * </pre>
     */
    public grpc.htsoft.meeting.commonReply postUserContent(grpc.htsoft.meeting.userConentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getPostUserContentMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.htsoft.meeting.AllUser getAllUser(grpc.htsoft.meeting.Empty request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getGetAllUserMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.htsoft.meeting.AllGroup getAllGroup(grpc.htsoft.meeting.Empty request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getGetAllGroupMethod(), getCallOptions(), request);
    }
  }

  /**
   */
  public static final class MeetingGreeterFutureStub extends io.grpc.stub.AbstractFutureStub<MeetingGreeterFutureStub> {
    private MeetingGreeterFutureStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected MeetingGreeterFutureStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new MeetingGreeterFutureStub(channel, callOptions);
    }

    /**
     * <pre>
     * 获得用户信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<grpc.htsoft.meeting.user> getUser(
        grpc.htsoft.meeting.userRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getGetUserMethod(), getCallOptions()), request);
    }

    /**
     * <pre>
     * 保存用户信息,但是点赞不保存
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<grpc.htsoft.meeting.commonReply> saveUser(
        grpc.htsoft.meeting.user request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getSaveUserMethod(), getCallOptions()), request);
    }

    /**
     * <pre>
     *获得组信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<grpc.htsoft.meeting.usergroup> getGroup(
        grpc.htsoft.meeting.grouprequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getGetGroupMethod(), getCallOptions()), request);
    }

    /**
     * <pre>
     *发布内容
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<grpc.htsoft.meeting.commonReply> postUserContent(
        grpc.htsoft.meeting.userConentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getPostUserContentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture<grpc.htsoft.meeting.AllUser> getAllUser(
        grpc.htsoft.meeting.Empty request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getGetAllUserMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture<grpc.htsoft.meeting.AllGroup> getAllGroup(
        grpc.htsoft.meeting.Empty request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getGetAllGroupMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_GET_USER = 0;
  private static final int METHODID_SAVE_USER = 1;
  private static final int METHODID_GET_GROUP = 2;
  private static final int METHODID_POST_USER_CONTENT = 3;
  private static final int METHODID_GET_ALL_USER = 4;
  private static final int METHODID_GET_ALL_GROUP = 5;

  private static final class MethodHandlers<Req, Resp> implements
      io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
    private final MeetingGreeterImplBase serviceImpl;
    private final int methodId;

    MethodHandlers(MeetingGreeterImplBase serviceImpl, int methodId) {
      this.serviceImpl = serviceImpl;
      this.methodId = methodId;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_GET_USER:
          serviceImpl.getUser((grpc.htsoft.meeting.userRequest) request,
              (io.grpc.stub.StreamObserver<grpc.htsoft.meeting.user>) responseObserver);
          break;
        case METHODID_SAVE_USER:
          serviceImpl.saveUser((grpc.htsoft.meeting.user) request,
              (io.grpc.stub.StreamObserver<grpc.htsoft.meeting.commonReply>) responseObserver);
          break;
        case METHODID_GET_GROUP:
          serviceImpl.getGroup((grpc.htsoft.meeting.grouprequest) request,
              (io.grpc.stub.StreamObserver<grpc.htsoft.meeting.usergroup>) responseObserver);
          break;
        case METHODID_POST_USER_CONTENT:
          serviceImpl.postUserContent((grpc.htsoft.meeting.userConentRequest) request,
              (io.grpc.stub.StreamObserver<grpc.htsoft.meeting.commonReply>) responseObserver);
          break;
        case METHODID_GET_ALL_USER:
          serviceImpl.getAllUser((grpc.htsoft.meeting.Empty) request,
              (io.grpc.stub.StreamObserver<grpc.htsoft.meeting.AllUser>) responseObserver);
          break;
        case METHODID_GET_ALL_GROUP:
          serviceImpl.getAllGroup((grpc.htsoft.meeting.Empty) request,
              (io.grpc.stub.StreamObserver<grpc.htsoft.meeting.AllGroup>) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public io.grpc.stub.StreamObserver<Req> invoke(
        io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        default:
          throw new AssertionError();
      }
    }
  }

  private static abstract class MeetingGreeterBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    MeetingGreeterBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return grpc.htsoft.meeting.MeetingProto.getDescriptor();
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
      return getFileDescriptor().findServiceByName("MeetingGreeter");
    }
  }

  private static final class MeetingGreeterFileDescriptorSupplier
      extends MeetingGreeterBaseDescriptorSupplier {
    MeetingGreeterFileDescriptorSupplier() {}
  }

  private static final class MeetingGreeterMethodDescriptorSupplier
      extends MeetingGreeterBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    MeetingGreeterMethodDescriptorSupplier(String methodName) {
      this.methodName = methodName;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
      return getServiceDescriptor().findMethodByName(methodName);
    }
  }

  private static volatile io.grpc.ServiceDescriptor serviceDescriptor;

  public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (MeetingGreeterGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new MeetingGreeterFileDescriptorSupplier())
              .addMethod(getGetUserMethod())
              .addMethod(getSaveUserMethod())
              .addMethod(getGetGroupMethod())
              .addMethod(getPostUserContentMethod())
              .addMethod(getGetAllUserMethod())
              .addMethod(getGetAllGroupMethod())
              .build();
        }
      }
    }
    return result;
  }
}
